import Mock from "mockjs";
import banner from "./banner.json";
import footer from "./footer.json";

Mock.mock("/mock-api/banner", "get", () => {
  return {
    code: 200,
    data: banner,
  };
});

Mock.mock("/mock-api/footer", "get", () => {
  return {
    code: 200,
    data: footer,
  };
});
